
package com.sm.shoplook.domain.base;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "t_main_index")
public class MainIndex implements Serializable {

	@Id
	private Integer id;
	/**
	 * 链接
	 */
	@Column(name = "link_url")
	private String linkUrl;
	/**
	 * 图片地址
	 */
	@Column(name = "img_url")
	private String imgUrl;
	@Column(name = "create_time")
	private Date createTime;
	private Integer type;
	@Column(name = "index_name")
	private String indexName;
	@Column(name = "descrption")
	private String descrption;
	private static final long serialVersionUID = 1L;

	/**
	 * @return id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * 获取链接
	 * @return link_url - 链接
	 */
	public String getLinkUrl() {
		return linkUrl;
	}

	/**
	 * 设置链接
	 * @param linkUrl 链接
	 */
	public void setLinkUrl(String linkUrl) {
		this.linkUrl = linkUrl;
	}

	/**
	 * 获取图片地址
	 * @return img_url - 图片地址
	 */
	public String getImgUrl() {
		return imgUrl;
	}

	/**
	 * 设置图片地址
	 * @param imgUrl 图片地址
	 */
	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	/**
	 * @return create_time
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * @param createTime
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getIndexName() {
		return indexName;
	}

	public void setIndexName(String indexName) {
		this.indexName = indexName;
	}

	public String getDescrption() {
		return descrption;
	}

	public void setDescrption(String descrption) {
		this.descrption = descrption;
	}
}
